<?php
namespace app\admin\controller;
use think\Controller;
use think\Request;
use think\Db;

class Index extends Controller
{
    public function index($name = '张三')
    {
    	print_r($this->request->param()); 
    	//内置 request安全对象 不再用$_GET $_POST
    	//※※※现会将模块/控制器/方法 当做参数解析输出 为解决※※※
    }
}